<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="tag" tagdir="/WEB-INF/tags" %>
<html>
<head>
	<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<c:if test="${not empty errorMessage}">
	  <h2 class=error>${errorMessage}</h2>
	</c:if>
<form action="${actionURL}" method="post">

<h1>Produkt Detail JSP</h1>

<table>
  <tr>
  <td><input type="hidden" name="produkteId" value="${produkt.id}"/></td>
  </tr>
  <tr>
    <th>Titel</th>
    <td>${produkt.titel}</td>
  </tr>
  <tr>
    <th>Preis</th>
    <td>${produkt.preis}</td>
  </tr>
  <tr>
    <th>Spieleranzahl</th>
    <td>${produkt.spielerAnzahl}</td>
  </tr>
  <tr>
    <th>Alter</th>
    <td>${produkt.alter}</td>
  </tr>
  <tr>
    <th>Kategorie</th>
    <td>${produkt.kategorie}</td>
  </tr>
  <tr>
    <th>HerstellerID</th>
    <td>${produkt.herstellerID}</td>
  </tr>
   <tr>
    <th>Menge</th>
  <td><input type="text" size="3" name="bestellMenge" value="1"/></td>
  </tr>
  <tr>
	        <td colspan="2" align="right"><input type="submit" name="submit" value="Bestellen"/>
	        <td colspan="2" align="right"><input type="submit" name="back" value="zur&uuml;ck"/>
 </tr>
</table>
</form>
</body>
</html>